草庐IT

Running Gradle task ‘assembleDebug‘

全部标签

「已解决」anaconda环境version `GLIBCXX_3.4.30‘ not found

conda虚拟环境配置时遇到报错ImportError:/home/cedric/anaconda3/envs/decdiff_env/bin/../lib/libstdc++.so.6:version`GLIBCXX_3.4.30'notfound(requiredby/lib/x86_64-linux-gnu/libLLVM-15.so.1)解决方案检查是否存在strings/usr/lib/x86_64-linux-gnu/libstdc++.so.6|grepGLIBCXX结果如下,我这里是存在version`GLIBCXX_3.4.30’的GLIBCXX_3.4GLIBCXX_3.4

OpenCV resize()缩放图片 error: (-215:Assertion failed) inv_scale_x > 0 in function ‘cv::resize’

目录Python报错C++嵌入式报错Python报错参考:OpenCVresize()缩放图片error:(-215:Assertionfailed)inv_scale_x>0infunction‘cv::resize’C++嵌入式报错terminatecalledafterthrowinganinstanceof'cv::Exception'what():OpenCV(4.5.4)/docker_ws/opny/openc-4.5.4/modules/ingproc/src/resize,cpp:4054:error:(-215:Asertionfailed)inv_scalex>0infu

【已解决】NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver 的报错

问题描述基于ubuntu16.04,本人在更换一次系统下载源后,误操作进行了内核升级。执行以下查看cuda命令:nvidia-smi出现如下提示:NVIDIA-SMIhasfailedbecauseitcouldn'tcommunicatewiththeNVIDIAdriver.MakesurethatthelatestNVIDIAdriverisinstalledandrunning.打开系统进行训练,发现tensorflow-GPU还可以正常使用,说明我的GPU驱动还完好,不用重新进行驱动安装,CUDA没有问题。这说明是nvidia的查看指令出现了问题。问题原因ubuntu的内核版本升级后

【已解决】NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver 的报错

问题描述基于ubuntu16.04,本人在更换一次系统下载源后,误操作进行了内核升级。执行以下查看cuda命令:nvidia-smi出现如下提示:NVIDIA-SMIhasfailedbecauseitcouldn'tcommunicatewiththeNVIDIAdriver.MakesurethatthelatestNVIDIAdriverisinstalledandrunning.打开系统进行训练,发现tensorflow-GPU还可以正常使用,说明我的GPU驱动还完好,不用重新进行驱动安装,CUDA没有问题。这说明是nvidia的查看指令出现了问题。问题原因ubuntu的内核版本升级后

[解决Github 克隆错误] unable to access ‘xxx‘: Recv failure: Connect

1.错误描述:从GitHub上克隆仓库到本地,出现错误: unabletoaccess'https://github.com/xxxx':Recvfailure:Connectionwasreset。 克隆失败。2.第一次解决此问题:从终端输入: gitconfig--globalhttp.sslVerify"false"再此运行克隆代码,出现新的错误。443网络错误。 3.大多数人到第二步就解决了,但我遇到了新的443错误。怀疑是梯子导致的网络问题。第二次解决:关闭梯子,进入【设置】-【网络和internet】-【代理】,关闭代理。再次运行克隆代码,成功。4.问题解决。 

gitlab上传代码报错fatal: unable to access ‘http://gitlab********‘: Could not resolve host: gitlab.******

fatal:unabletoaccess‘http://gitlab.*******.git/’:Couldnotresolvehost:gitlab.*****尝试输入命令行:gitconfig--globalhttp.sslVerifyfalse

npm 报错 Error: Cannot find module ‘semver‘的解决方法

执行npminstall报错node:internal/modules/cjs/loader:1078throwerr;^Error:Cannotfindmodule'semver'Requirestack:-/usr/share/npm/lib/utils/unsupported.js-/usr/share/npm/bin/npm-cli.jsatModule._resolveFilename(node:internal/modules/cjs/loader:1075:15)atModule._load(node:internal/modules/cjs/loader:920:27)atMo

JS常见报错解决办法:Uncaught TypeError: Cannot set properties of null (setting ‘innerHTML‘)

UncaughtTypeError:Cannotsetpropertiesofnull(setting‘innerHTML’)意思是,未捕获类型错误:无法设置空属性(设置“innerHTML”),也就是说**.innerHTM**前的对象内容是空或null。1、举个例子,我需要用js渲染HTML网页的数据。报错:UncaughtTypeError:Cannotsetpropertiesofnull(setting‘innerHTML’)自然是未实现想要的渲染效果。2、当我将要插入的js文件放在body的后面,错误就解决了实现了想要的数据渲染效果。3、浏览器工作原理由于浏览器解析HTML代码的时

Unity报错Assertion failed on expression: ‘m_ErrorCode == MDB_MAP_RESIZED

 Assertionfailedonexpression:'m_ErrorCode==MDB_MAP_RESIZED||!HasAbortingErrors()'Assetdatabasetransactioncommittedtwice!Assertionfailedonexpression:'errors==MDB_SUCCESS||errors==MDB_NOTFOUND'一直报这三个错,没有代码提示;原因是Unity许可证过期;解决办法:重启Unity打开UnityHub重新激活一下许可证;再重新打开项目工程即可

python配置opencv环境后,读取图片,报错:can‘t open/read file: check file path/integrity

运行出错代码:importcv2importnumpyasnpimage=cv2.imread('C:/Pictures/桌面背景图片切换/wallhaven-6oq1k7.jpg',cv2.IMREAD_COLOR)cv2.imshow("test",image)cv2.waitKey(0)报错内容:[WARN:0@0.007]globalD:\a\opencv-python\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp(239)cv::findDecoderimread_('C:/Pictures/桌面背景图片切换/wall